package qingke.struts.example.action;

import java.util.List;

import com.opensymphony.xwork2.ActionSupport;

import qingke.struts.example.dao.UserDao;
import qingke.struts.example.model.Message;
import qingke.struts.example.model.User;

public class MessageAction  extends ActionSupport{
      
	 
	  private  Message message;
	  private  UserDao ud=new UserDao();
	  
	  public MessageAction(){
		  
	  }
	  
	  public String execute(){
		  message=new Message();
		  List<User> list=ud.getAllUser();
		  return  SUCCESS;
	  }
}
